@import "../../../../asset/stylesheet/common.less";
.page {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  .page-item {
    pointer-events: auto;
    flex: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #155480;
    margin-left: 6px;

    cursor: pointer;
  }
  .page-current {
    background-color: #01d4f9;
  }
}
.down-period-title {
  margin-left: 40px;
  width: 204px;
  height: 42px;
  text-align: center;
  position: relative;
  margin-bottom: 40px;
  padding: 1px;
  .text {
    line-height: 42px;
    color: #00e4ff;
    background-color: rgba(0, 186, 255, 0.2);
    width: 100%;
    display: block;
  }
  .bg();
}
.bg() {
  .one {
    width: 16px;
    height: 8px;
    border: none;
    border-left: 1px solid #00beff;
    border-top: 1px solid #00beff;
    position: absolute;
    left: 0;
    top: 0;
  }
  .two {
    width: 16px;
    height: 8px;
    border: none;
    border-right: 1px solid #00beff;
    border-top: 1px solid #00beff;
    position: absolute;
    right: 0;
    top: 0;
  }
  .three {
    width: 16px;
    height: 8px;
    border: none;
    border-left: 1px solid #00beff;
    border-bottom: 1px solid #00beff;
    position: absolute;
    left: 0;
    bottom: 0;
  }
  .four {
    width: 16px;
    height: 8px;
    border: none;
    border-right: 1px solid #00beff;
    border-bottom: 1px solid #00beff;
    position: absolute;
    right: 0;
    bottom: 0;
  }
}
.container {
  position: absolute;
  left: 24px;
  top: 555px;
  width: 452px;
  height: 239px;
  // background-image: url("../../../../asset/image/screen/battery-bg.png");
  background-image: url("../../../../asset/image/screen/battery.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  display: flex;
  flex-wrap: nowrap;
  .container-item {
    width: 100%;
    flex: none;
  }

  .image-rendering();
  pointer-events: none;
  &.no-photovoltaic-modules {
    // width: 920px;
    .data-container {
      .electricity {
        width: 46%;
        .battery-box-wrap {
          width: 242px;
          height: 30px;
          left: 50%;
          transform: translateX(-50%);
          position: absolute;
        }
      }
      .first-row {
        width: 54%;
        .item {
          width: 100%;
          line-height: 32px;
        }
      }
      .describe {
        left: 50%;
        transform: translateX(-50%);
      }
    }
  }
}
.title-container {
  position: absolute;
  left: 13px;
  top: 5px;
  .title-selected {
    width: 79px;
    height: 0px;
    border: 4px solid #a9ddee;
    border-top-color: transparent;
    border-left-color: transparent;
    border-right-color: transparent;
  }
  .title {
    font-size: 16px;
    color: #fff;
    text-align: center;
    font-weight: bolder;
    line-height: 24px;
  }
}
.data-container {
  pointer-events: auto;
  padding-top: 60px;
  .electricity {
    display: inline-block;
    vertical-align: top;
    width: 235px;
    position: relative;
    .articlePower {
      width: 96px;
      height: 33px;
      position: absolute;
      background-color: #22c0fd;
      top: 37px;
      left: 70px;
    }
    .describe {
      position: absolute;
      text-align: center;
      top: 98px;
      left: 90px;
      p {
        margin: 0;
        line-height: 24px;
      }
      .title {
        color: #fff;
      }
      .value {
        color: #00e4ff;
      }
    }
    .lightning {
      position: absolute;
      top: 34px;
      left: 101px;
      color: #fff;
      font-size: 38px;
    }
    .battery-box {
      position: absolute;
      top: -15px;
      left: 52px;
      font-size: 137px;
      color: #22c0fd;
    }
  }
  .first-row {
    width: 206px;
    display: inline-block;
    vertical-align: top;
    .item {
      p {
        /*文字溢出部分不要换行*/
        white-space: nowrap;
        /*溢出部分隐藏*/
        overflow: hidden;
        /*打点显示*/
        text-overflow: ellipsis;
        margin-bottom: 0;
      }
      display: inline-block;
      vertical-align: top;
      text-align: left;
      font-size: 14px;
      line-height: 36px;
      .title {
        width: 130px;
        color: #fff;
        display: inline-block;
        vertical-align: top;
      }
      .value {
        padding-left: 12px;
        display: inline-block;
        vertical-align: top;
        color: #00e4ff;
      }
    }
  }
}
